<template>
    <div class="page">
        <!-- 导航 开始 -->
        <nav-bar title="预约成功"></nav-bar>
        <!-- 导航 end -->

        <div class="success_info">
            <img src="@/assets/images/success.png" class="img" alt="">
            <div class="title">预约成功</div>
            <div class="sub">稍后将有客服人员与您联系，请注意接听来电</div>
            <div class="btn_group">
                <button class="btn" @click="lookBook">返回首页</button>
                <div class="tips">使用您预约手机号码登录后，</div>
                <div class="tips">可查看您的预约记录</div>
            </div>

        </div>


    </div>
</template>
<script>
export default {
    data() {
        return {

        }
    },
    head() {
    return {
      link: [
        {
          ref: "canonical",
          href: `${this.$domain}/hospital/success`,
        },
      ],
    };
  },
    methods: {
        // 查看预约
        lookBook() {
            //let token = this.$cookies.get('token')
            let url = '/home'
            // if (token) {
            //     url = '/my/book'
            // }
            this.$router.push({
                path: url
            })
        }
    }
}
</script>
<style lang="less" scoped>
@import '/assets/styles/hospital/success.less';
</style>